<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
  <head>
  	<th:block th:include="include :: header('项目确定')" />
    <title>流程图</title>
    <link th:href="@{/flow_cart/css/process_diagram.css?v=3.3.8}" rel="stylesheet"/>
    <style>
    	body {overflow: auto;}
    </style>
  </head>
  <body>
  	<form class="form-horizontal" id="form-project-edit" style="padding-top: 10px;">
  	<input id="gcProjectid" name="gcProjectid" type="hidden" th:value="${gcProjectFlowObj.gcProjectid}" />
    <!-- 项目(保证金/服务费) -->
	<table border="0" cellpadding='0' cellspacing="0" class="processTable">
<!--   		<tr> -->
<!--   			<td class="corner-left"></td> -->
<!--   			<td colspan="7" class="line-throw"></td> -->
<!--   			<td class="line-throw"></td> -->
<!--   			<td class="line-throw"></td> -->
<!--   			<td class="line-throw"></td> -->
<!--   			<td class="line-throw" colspan="2"> -->
<!--   				<div class="processBox w10 " th:if="${gcProjectFlowObj.xmqtfy==null}">招投标服务费</div> -->
<!--   				<div class="processBox w10 " th:if="${gcProjectFlowObj.xmqtfy==0}"><a href="#" onclick="addxmqtfy()">招投标服务费</a></div> -->
<!--   				<div class="processBox w10 c-red" th:if="${gcProjectFlowObj.xmqtfy==1}"><a href="#" onclick="addxmqtfy()">招投标服务费</a></div> -->
<!--   				<div class="processBox w10 c-green" th:if="${gcProjectFlowObj.xmqtfy==2}">招投标服务费</div> -->
<!--   			</td> -->
<!--   			<td class="line-throw"></td> -->
<!--   			<td class="line-throw"> -->
<!--   				<div class="processBox w5" th:if="${gcProjectFlowObj.xmqtfy==null}">审批/支付</div> -->
<!--   				<div class="processBox w5" th:if="${gcProjectFlowObj.xmqtfy==0}">审批/支付</div> -->
<!--   				<div class="processBox w5 c-red" th:if="${gcProjectFlowObj.xmqtfy==1}">审批/支付</div> -->
<!--   				<div class="processBox w5 c-green" th:if="${gcProjectFlowObj.xmqtfy==2}">审批/支付</div> -->
<!--   			</td> -->
<!--   			<td class="line-throw"> -->
<!--   				<div class="processBox w5" th:if="${gcProjectFlowObj.xmqtfy==null}">发&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;票</div> -->
<!--   				<div class="processBox w5" th:if="${gcProjectFlowObj.xmqtfy==0}">发&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;票</div> -->
<!--   				<div class="processBox w5 c-red" th:if="${gcProjectFlowObj.xmqtfy==1}"><a href="#" onclick="addxmqtfylis()">发&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;票</a></div> -->
<!--   				<div class="processBox w5 c-green" th:if="${gcProjectFlowObj.xmqtfy==2}">发&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;票</div> -->
<!--   			</td> -->
<!--   			<td colspan="4" class="line-throw"></td> -->
<!--   			<td class="corner-right"></td> -->
<!--   		</tr> -->
  		<tr>
<!--   			<td rowspan="6" class="line-right"> -->
  			<td rowspan="6" style="width:5vw">
  				<div class="processBox c-green w5 strong">项目立项</div>
  			</td>
  			<td rowspan="6" class="line-throw extra"></td>	
  			<td class="rowList line-throw" colspan="3" rowspan="6">
  				<div class="flex flexlist">
  					<div class="line-vertical-1"></div>
  					<!-- 设计图纸 -->
  					<div class="processBox w5 " th:if="${gcProjectFlowObj.sjtz==null}">设计图纸</div>
  					<div class="processBox w5 " th:if="${gcProjectFlowObj.sjtz==0}"><a href="#" onclick="addsjtz()">设计图纸</a></div>
  					<div class="processBox w5 c-red" th:if="${gcProjectFlowObj.sjtz==1}"><a href="#" onclick="addsjtz()">设计图纸</a></div>
  					<div class="processBox w5 c-green" th:if="${gcProjectFlowObj.sjtz==2}">设计图纸</div>
  					<!-- 成本预估 -->
  					<div class="processBox w5" th:if="${gcProjectFlowObj.cbyg==null}">成本预估</div>
  					<div class="processBox w5" th:if="${gcProjectFlowObj.cbyg==0}"><a href="#" onclick="addcbyg()">成本预估</a></div>
  					<div class="processBox w5 c-red" th:if="${gcProjectFlowObj.cbyg==1}"><a href="#" onclick="addcbyg()">成本预估</a></div>
  					<div class="processBox w5 c-green" th:if="${gcProjectFlowObj.cbyg==2}">成本预估</div>
  					<!-- 造价/报价 -->
  					<div class="processBox w5" th:if="${gcProjectFlowObj.zjbj==null}">造价/报价</div>
  					<div class="processBox w5" th:if="${gcProjectFlowObj.zjbj==0}"><a href="#" onclick="addzjbj()">造价/报价</a></div>
  					<div class="processBox w5 c-red" th:if="${gcProjectFlowObj.zjbj==1}"><a href="#" onclick="addzjbj()">造价/报价</a></div>
  					<div class="processBox w5 c-green" th:if="${gcProjectFlowObj.zjbj==2}">造价/报价</div>
  					<!-- 其他文件 -->
  					<div class="processBox w5" th:if="${gcProjectFlowObj.qtwj==null}">其它文件</div>
  					<div class="processBox w5" th:if="${gcProjectFlowObj.qtwj==0}"><a href="#" onclick="addqtwj()">其它文件</a></div>
  					<div class="processBox w5 c-red" th:if="${gcProjectFlowObj.qtwj==1}"><a href="#" onclick="addqtwj()">其它文件</a></div>
  					<div class="processBox w5 c-green" th:if="${gcProjectFlowObj.qtwj==2}">其它文件</div>
  					<!-- 合同详情 -->
  					<div class="processBox w5" th:if="${gcProjectFlowObj.htxq==null}">合同详情</div>
  					<div class="processBox w5" th:if="${gcProjectFlowObj.htxq==0}"><a href="#" onclick="addXmxq()">合同详情</a></div>
  					<div class="processBox w5 c-red" th:if="${gcProjectFlowObj.htxq==1}"><a href="#" onclick="addXmxq()">合同详情</a></div>
  					<div class="processBox w5 c-green" th:if="${gcProjectFlowObj.htxq==2}">合同详情</div>
  					<div class="line-vertical-2"></div>
  				</div>
  			</td>
  			<td rowspan="6" class="line-throw mainBox">
  				<div class="processBox strong " th:if="${gcProjectFlowObj.xmps==null}" >合同</br>评审签订</div>
  				<div class="processBox strong " th:if="${gcProjectFlowObj.xmps==0}" >合同</br>评审签订</div>
  				<div class="processBox strong c-red" th:if="${gcProjectFlowObj.xmps==1}" >合同</br>评审签订</div>
  				<div class="processBox strong c-green" th:if="${gcProjectFlowObj.xmps==2}" >合同</br>评审签订</div>
  			</td>
  			<td rowspan="6" class="line-throw">
  				<div class="processBox strong" th:if="${gcProjectFlowObj.xmht==null}">上传</br>正式合同</div>
  				<div class="processBox strong" th:if="${gcProjectFlowObj.xmht==0}"><a href="#" onclick="addzcbht()">上传</br>正式合同</a></div>
  				<div class="processBox strong c-red" th:if="${gcProjectFlowObj.xmht==1}"><a href="#" onclick="addzcbht()">上传</br>正式合同</a></div>
  				<div class="processBox strong c-green" th:if="${gcProjectFlowObj.xmht==2}">上传</br>正式合同</div>
  			</td>
  			<td rowspan="6" class="line-corner-down"></td>
  			<td class="line-throw" rowspan="6">
  				<div class="processBox w5 strong" th:if="${gcProjectFlowObj.xmss==null}">项目实施</div>
  				<div class="processBox w5 strong" th:if="${gcProjectFlowObj.xmss==0}">项目实施</div>
  				<div class="processBox w5 strong c-red" th:if="${gcProjectFlowObj.xmss==1}">项目实施</div>
  				<div class="processBox w5 strong c-green" th:if="${gcProjectFlowObj.xmss==2}">项目实施</div>
  			</td>	
  			<td rowspan="2" class="line-corner-down"></td>
  			<td rowspan="2" class="line-throw">
  				<div class="processBox w5" th:if="${gcProjectFlowObj.sbclht==null}">设备材料</br>合同</div>
  				<div class="processBox w5" th:if="${gcProjectFlowObj.sbclht==0}">设备材料</br>合同</div>
  				<div class="processBox w5 c-red" th:if="${gcProjectFlowObj.sbclht==1}"><a href="#" onclick="addsbclht()">设备材料</br>合同</a></div>
  				<div class="processBox w5 c-green" th:if="${gcProjectFlowObj.sbclht==2}">设备材料</br>合同</div>
  			</td>
  			<td rowspan="2" class="line-throw">
  				<div class="processBox w5" th:if="${gcProjectFlowObj.sbclhtps==null}">合同评审</div>
  				<div class="processBox w5" th:if="${gcProjectFlowObj.sbclhtps==0}">合同评审</div>
  				<div class="processBox w5 c-red" th:if="${gcProjectFlowObj.sbclhtps==1}">合同评审</div>
  				<div class="processBox w5 c-green" th:if="${gcProjectFlowObj.sbclhtps==2}">合同评审</div>
  			</td>
  			<td rowspan="2" class="line-throw">
  				<div class="processBox w5" th:if="${gcProjectFlowObj.sbclhtps==null}">上传</br>正式合同</div>
  				<div class="processBox w5" th:if="${gcProjectFlowObj.sbclhtps==0}">上传</br>正式合同</div>
  				<div class="processBox w5 c-red" th:if="${gcProjectFlowObj.sbclhtps==1}">上传</br>正式合同</div>
  				<div class="processBox w5 c-green" th:if="${gcProjectFlowObj.sbclhtps==2}">上传</br>正式合同</div>
  			</td>
  			<td class="line-corner-down"></td>
  			<td class="line-throw">
  				<div class="processBox w5" th:if="${gcProjectFlowObj.sbclhtjhd==null}">交货单</div>
  				<div class="processBox w5" th:if="${gcProjectFlowObj.sbclhtjhd==0}">交货单</div>
  				<div class="processBox w5 c-red" th:if="${gcProjectFlowObj.sbclhtjhd==1}"><a href="#" onclick="addsbclhtjhd()">交货单</a></div>
  				<div class="processBox w5 c-green" th:if="${gcProjectFlowObj.sbclhtjhd==2}">交货单</div>
  			</td>
  			<td class="line-throw">
  				<div class="processBox w5" th:if="${gcProjectFlowObj.sbclhtcrk==null}">入/出库单</div>
  				<div class="processBox w5" th:if="${gcProjectFlowObj.sbclhtcrk==0}">入/出库单</div>
  				<div class="processBox w5 c-red" th:if="${gcProjectFlowObj.sbclhtcrk==1}"><a href="#" onclick="addsbclhtcrkd()">入/出库单</a></div>
  				<div class="processBox w5 c-green" th:if="${gcProjectFlowObj.sbclhtcrk==2}">入/出库单</div>
  			</td>
  			<td class="line-corner-down"></td>
  			<td rowspan="2" class="line-throw extra"></td>
  			<td rowspan="2" class="line-corner-down"></td>
  			<td rowspan="6" class="line-throw">
  				<div class="processBox w5 strong" th:if="${gcProjectFlowObj.shazhtjgcl==null}">竣工确认</div>
  				<div class="processBox w5 strong" th:if="${gcProjectFlowObj.shazhtjgcl==0}">竣工确认</div>
  				<div class="processBox w5 strong c-red" th:if="${gcProjectFlowObj.shazhtjgcl==1}"><a href="#" onclick="addshazhtitem()">竣工确认</a></div>
  				<div class="processBox w5 strong c-green" th:if="${gcProjectFlowObj.shazhtjgcl==2}">竣工确认</div>
  			</td>
<!--   			<td rowspan="6" class="line-left"> -->
			<td rowspan="6" style="width:5vw">
  				<div class="processBox w5 strong" th:if="${gcProjectFlowObj.xmjs==null}">项目结算</div>
  				<div class="processBox w5 strong" th:if="${gcProjectFlowObj.xmjs==0}">项目结算</div>
  				<div class="processBox w5 strong c-red" th:if="${gcProjectFlowObj.xmjs==1}">项目结算</div>
  				<div class="processBox w5 strong c-green" th:if="${gcProjectFlowObj.xmjs==2}"><a href="#">项目结算</a></div>
  			</td>
  		</tr>
  		<tr>
  			<td class="line-corner-up"></td>
  			<td class="line-throw">
  				<div class="processBox w5" th:if="${gcProjectFlowObj.sbclhtfp==null}">发&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;票</div>
  				<div class="processBox w5" th:if="${gcProjectFlowObj.sbclhtfp==0}">发&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;票</div>
  				<div class="processBox w5 c-red" th:if="${gcProjectFlowObj.sbclhtfp==1}"><a href="#" onclick="addsbclhtfp()">发&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;票</a></div>
  				<div class="processBox w5 c-green" th:if="${gcProjectFlowObj.sbclhtfp==2}">发&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;票</div>
  			</td>
  			<td class="line-throw">
  				<div class="processBox w5" th:if="${gcProjectFlowObj.sbclhtfk==null}">审批/支付</div>
  				<div class="processBox w5" th:if="${gcProjectFlowObj.sbclhtfk==0}">审批/支付</div>
  				<div class="processBox w5 c-red" th:if="${gcProjectFlowObj.sbclhtfk==1}">审批/支付</div>
  				<div class="processBox w5 c-green" th:if="${gcProjectFlowObj.sbclhtfk==2}">审批/支付</div>
  			</td>
  			<td class="line-corner-up"></td>
  		</tr>
  		<tr>
  			<td rowspan="2" class="line-align"></td>
  			<td rowspan="2" class="line-throw">
  				<div class="processBox w5" th:if="${gcProjectFlowObj.shazht==null}">施工安装</br>合同</div>
  				<div class="processBox w5" th:if="${gcProjectFlowObj.shazht==0}">施工安装</br>合同</div>
  				<div class="processBox w5 c-red" th:if="${gcProjectFlowObj.shazht==1}"><a href="#" onclick="addshazht()">施工安装</br>合同</a></div>
  				<div class="processBox w5 c-green" th:if="${gcProjectFlowObj.shazht==2}">施工安装</br>合同</div>
  			</td>
  			<td rowspan="2" class="line-throw">
  				<div class="processBox w5" th:if="${gcProjectFlowObj.shazhtps==null}">合同评审</div>
  				<div class="processBox w5" th:if="${gcProjectFlowObj.shazhtps==0}">合同评审</div>
  				<div class="processBox w5 c-red" th:if="${gcProjectFlowObj.shazhtps==1}">合同评审</div>
  				<div class="processBox w5 c-green" th:if="${gcProjectFlowObj.shazhtps==2}">合同评审</div>
  			</td>
  			<td rowspan="2" class="line-throw">
  				<div class="processBox w5" th:if="${gcProjectFlowObj.shazhtps==null}">上传</br>正式合同</div>
  				<div class="processBox w5" th:if="${gcProjectFlowObj.shazhtps==0}">上传</br>正式合同</div>
  				<div class="processBox w5 c-red" th:if="${gcProjectFlowObj.shazhtps==1}">上传</br>正式合同</div>
  				<div class="processBox w5 c-green" th:if="${gcProjectFlowObj.shazhtps==2}">上传</br>正式合同</div>
  			</td>
  			<td class="line-corner-down"></td>
  			<td class="line-throw">
  				<div class="processBox w5" th:if="${gcProjectFlowObj.shazhtgc==null}">施工过程</div>
  				<div class="processBox w5" th:if="${gcProjectFlowObj.shazhtgc==0}">施工过程</div>
  				<div class="processBox w5 c-red" th:if="${gcProjectFlowObj.shazhtgc==1}"><a href="#" onclick="addshazhtitem()">施工过程</a></div>
  				<div class="processBox w5 c-green" th:if="${gcProjectFlowObj.shazhtgc==2}">施工过程</div>
  			</td>
  			<td class="line-throw">
  				<div class="processBox w5" th:if="${gcProjectFlowObj.shazhtjgys==null}">竣工验收</div>
  				<div class="processBox w5" th:if="${gcProjectFlowObj.shazhtjgys==0}">竣工验收</div>
  				<div class="processBox w5 c-red" th:if="${gcProjectFlowObj.shazhtjgys==1}"><a href="#" onclick="addshazhtitem()">竣工验收</a></div>
  				<div class="processBox w5 c-green" th:if="${gcProjectFlowObj.shazhtjgys==2}">竣工验收</div>
  			</td>
  			<td class="line-corner-down"></td>
  			<td rowspan="2" class="line-throw extra"></td>
  			<td rowspan="2" class="line-align"></td>
  		</tr>
  		<tr>
  			<td class="line-corner-up"></td>
  			<td class="line-throw">
  				<div class="processBox w5" th:if="${gcProjectFlowObj.shazhtfp==null}">发&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;票</div>
  				<div class="processBox w5" th:if="${gcProjectFlowObj.shazhtfp==0}">发&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;票</div>
  				<div class="processBox w5 c-red" th:if="${gcProjectFlowObj.shazhtfp==1}"><a href="#" onclick="addshazhtitem()">发&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;票</a></div>
  				<div class="processBox w5 c-green" th:if="${gcProjectFlowObj.shazhtfp==2}">发&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;票</div>
  			</td>
  			<td class="line-throw">
  				<div class="processBox w5" th:if="${gcProjectFlowObj.shazhtfk==null}">审批/支付</div>
  				<div class="processBox w5" th:if="${gcProjectFlowObj.shazhtfk==0}">审批/支付</div>
  				<div class="processBox w5 c-red" th:if="${gcProjectFlowObj.shazhtfk==1}">审批/支付</div>
  				<div class="processBox w5 c-green" th:if="${gcProjectFlowObj.shazhtfk==2}">审批/支付</div>
  			</td>
  			<td class="line-corner-up"></td>
  		</tr>
  		<tr>
  			<td rowspan="2" class="line-corner-up"></td>
  			<td rowspan="2" class="line-throw">
  				<div class="processBox w5" th:if="${gcProjectFlowObj.gcqtht==null}">工程其它</br>合同</div>
  				<div class="processBox w5" th:if="${gcProjectFlowObj.gcqtht==0}">工程其它</br>合同</div>
  				<div class="processBox w5 c-red" th:if="${gcProjectFlowObj.gcqtht==1}"><a href="#" onclick="addgcqtht()">工程其它</br>合同</a></div>
  				<div class="processBox w5 c-green" th:if="${gcProjectFlowObj.gcqtht==2}">工程其它</br>合同</div>
  			</td>
  			<td  rowspan="2" class="line-throw">
  				<div class="processBox w5" th:if="${gcProjectFlowObj.gcqthtps==null}">合同评审</div>
  				<div class="processBox w5" th:if="${gcProjectFlowObj.gcqthtps==0}">合同评审</div>
  				<div class="processBox w5 c-red" th:if="${gcProjectFlowObj.gcqthtps==1}">合同评审</div>
  				<div class="processBox w5 c-green" th:if="${gcProjectFlowObj.gcqthtps==2}">合同评审</div>
  			</td>
  			<td  rowspan="2" class="line-throw">
  				<div class="processBox w5" th:if="${gcProjectFlowObj.gcqthtps==null}">上传</br>正式合同</div>
  				<div class="processBox w5" th:if="${gcProjectFlowObj.gcqthtps==0}">上传</br>正式合同</div>
  				<div class="processBox w5 c-red" th:if="${gcProjectFlowObj.gcqthtps==1}">上传</br>正式合同</div>
  				<div class="processBox w5 c-green" th:if="${gcProjectFlowObj.gcqthtps==2}">上传</br>正式合同</div>
  			</td>
  			<td rowspan="2" class="line-throw"></td>
  			<td rowspan="2" class="line-throw">
  				<div class="processBox w5 singleTd" th:if="${gcProjectFlowObj.gcqthtfp==null}">发&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;票</div>
  				<div class="processBox w5 singleTd" th:if="${gcProjectFlowObj.gcqthtfp==0}">发&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;票</div>
  				<div class="processBox w5 singleTd c-red" th:if="${gcProjectFlowObj.gcqthtfp==1}"><a href="#" onclick="addgcqthtps()">发&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;票</a></div>
  				<div class="processBox w5 singleTd c-green" th:if="${gcProjectFlowObj.gcqthtfp==2}">发&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;票</div>
  			</td>
  			<td  rowspan="2" class="line-throw">
  				<div class="processBox w5" th:if="${gcProjectFlowObj.gcqthtfk==null}">审批/支付</div>
  				<div class="processBox w5" th:if="${gcProjectFlowObj.gcqthtfk==0}">审批/支付</div>
  				<div class="processBox w5 c-red" th:if="${gcProjectFlowObj.gcqthtfk==1}">审批/支付</div>
  				<div class="processBox w5 c-green" th:if="${gcProjectFlowObj.gcqthtfk==2}">审批/支付</div>
  			</td>
  			<td rowspan="2" colspan="2" class="line-throw"></td>
  			<td rowspan="2" class="line-align"></td>
  		</tr>
  		<tr>
  		</tr>
  		<tr>
  			<td rowspan="3"></td>
  			<td rowspan="3"></td>
  			<td colspan="5" rowspan="2"></td>
  			<td class="line-align"></td>
  			<td class="line-throw" colspan="3"></td>
  			<td class="line-throw p5">
  				<div class="processBox w5" th:if="${gcProjectFlowObj.sqkpsk==null}">开票申请</div>
  				<div class="processBox w5" th:if="${gcProjectFlowObj.sqkpsk==0}">开票申请</div>
  				<div class="processBox w5 c-red" th:if="${gcProjectFlowObj.sqkpsk==1}"><a href="#" onclick="addsqkp()">开票申请</a></div>
  				<div class="processBox w5 c-green" th:if="${gcProjectFlowObj.sqkpsk==2}">开票申请</div>
  			</td>
  			<td class="line-throw">
  				<div class="processBox w5" th:if="${gcProjectFlowObj.sqkpsksp==null}">审&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;批</div>
  				<div class="processBox w5" th:if="${gcProjectFlowObj.sqkpsksp==0}">审&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;批</div>
  				<div class="processBox w5 c-red" th:if="${gcProjectFlowObj.sqkpsksp==1}"><a href="#" onclick="addsqkplis()">审&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;批</a></div>
  				<div class="processBox w5 c-green" th:if="${gcProjectFlowObj.sqkpsksp==2}">审&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;批</div>
  			</td>
  			<td colspan="2" class="line-throw">
  				<div class="processBox w5" th:if="${gcProjectFlowObj.sqkpsksp==null}">开&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;票</div>
  				<div class="processBox w5" th:if="${gcProjectFlowObj.sqkpsksp==0}">开&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;票</div>
  				<div class="processBox w5 c-red" th:if="${gcProjectFlowObj.sqkpsksp==1}"><a href="#" onclick="addsqkplis()">开&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;票</a></div>
  				<div class="processBox w5 c-green" th:if="${gcProjectFlowObj.sqkpsksp==2}">开&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;票</div>
  			</td>
  			<td colspan="3" class="line-throw"></td>
  			<td class="line-align"></td>
  			<td colspan="2" rowspan="4"></td>
  		</tr>
  		<tr>
  			<td class="line-corner-up"></td>
  			<td class="line-throw" colspan="3"></td>
  			<td class="line-throw p5" colspan="2">
  				<div class="processBox w10 confirm" th:if="${gcProjectFlowObj.sqkpsksk==null}">确认收款</div>
  				<div class="processBox w10 confirm" th:if="${gcProjectFlowObj.sqkpsksk==0}">确认收款</div>
  				<div class="processBox w10 confirm c-red" th:if="${gcProjectFlowObj.sqkpsksk==1}"><a href="#" onclick="addqrsk()">确认收款</a></div>
  				<div class="processBox w10 confirm c-green" th:if="${gcProjectFlowObj.sqkpsksk==2}">确认收款</div>
  			</td>
  			<td colspan="5" class="line-throw"></td>
  			<td class="line-corner-up"></td>
  		</tr>
  	</table>
	</form>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
    	//项目立项
	    function addqtwj() {
	        $.modal.open('其他文件',"/gcgl/qtwj/add/"+[[${gcProjectFlowObj.gcProjectid}]]);
	    }
	    function addsjtz() {
	        $.modal.open('设计图纸',"/gcgl/sjtz/add/"+[[${gcProjectFlowObj.gcProjectid}]]);
	    }
	    function addzjbj() {
	        $.modal.open('造价报价',"/gcgl/zjbj/add/"+[[${gcProjectFlowObj.gcProjectid}]]);
	    }
	    function addcbyg() {
	        $.modal.openTab('成本预估',"/gcgl/cbpj/add/"+[[${gcProjectFlowObj.gcProjectid}]]);
	    }
	    function addXmxq() {
	        $.modal.open('合同详情',"/gcgl/xmxq/add/"+[[${gcProjectFlowObj.gcProjectid}]]);
	    }
	  	//上传总承包合同
	    function addzcbht() {
	        $.modal.openTab('上传总承包合同',"/gcgl/xmxq");
	    }
	    
	    //设备材料合同
	    function addsbclht() {
	        $.modal.open('设备材料合同',"/gcgl/sbclht/add/"+[[${gcProjectFlowObj.gcProjectid}]]);
	    }
	    //施工安装合同
	    function addshazht() {
	        $.modal.open('施工安装合同',"/gcgl/sgazht/add/"+[[${gcProjectFlowObj.gcProjectid}]]);
	    }
	  	//施工安装合同
	    function addshazhtitem() {
	        $.modal.openTab('施工安装合同',"/gcgl/sgazht");
	    }
	    //工程其他合同
	    function addgcqtht() {
	        $.modal.open('工程其他合同',"/gcgl/other/add/"+[[${gcProjectFlowObj.gcProjectid}]]);
	    }
	  	//工程其他合同
	    function addgcqthtps() {
	        $.modal.openTab('工程其他合同',"/gcgl/other");
	    }
	    //一般性费用
	    function addybfy() {
	        $.modal.open('一般性费用',"/gcgl/ybfy/add/"+[[${gcProjectFlowObj.gcProjectid}]]);
	    }
	  	//一般性费用
	    function addybfyps() {
	        $.modal.openTab('一般性费用',"/gcgl/ybfy");
	    }
	    //交货单
	    function addsbclhtjhd(){
	    	$.modal.openTab('设备材料合同交货单',"/gcgl/sbclht");
	    }
	  	//出/入库
	    function addsbclhtcrkd(){
	    	$.modal.openTab('设备材料合同出/入库',"/gcgl/sbclht");
	    }
	  	//发票
	    function addsbclhtfp(){
	    	$.modal.openTab('设备材料合同发票',"/gcgl/sbclht");
	    }
	  	//申请开票
	  	function addsqkp(){
	  		$.modal.openTab('新增申请开票',"/gcgl/sqkp/add/"+[[${gcProjectFlowObj.gcProjectid}]]);
	  	}
	  	
	  	function addsqkplis(){
	  		$.modal.openTab('申请开票',"/gcgl/sqkp");
	  	}
	  	
	  	function addqrsk(){
	  		$.modal.openTab('确认收款',"/gcgl/sqkp");
	  	}
	  	
	  	//项目其它费用
	    function addxmqtfy() {
	        $.modal.open('招投标服务费',"/gcgl/qtfy/add/"+[[${gcProjectFlowObj.gcProjectid}]]);
	    }
	    function addxmqtfylis() {
	        $.modal.openTab('招投标服务费',"/gcgl/qtfy");
	    }
	    
	    $(function(){
	    	// 根据浏览器窗口大小，调整流程纵向分支线的高度
	    	var approvalTop = $(".project-approval").offset().top;
	    	var completedTop = $(".project-completed").offset().top;
	    	var serviceHeight = $(".project-cost__service").height() / 2;
	    	var serviceTop = $(".project-cost__service").offset().top;
	    	var invoiceHeight = $(".project-cost__invoice").height() / 2;
	    	var invoiceTop = $(".project-cost__invoice").offset().top;
	    	var lineHeight = approvalTop - serviceHeight - serviceTop - 8;
	    	var lineHeight2 = completedTop - invoiceHeight - invoiceTop - 8;
	    	
	    	$(".project-approval__line").css("height", lineHeight  + "px");
	    	$(".project-completed__line").css("height", lineHeight2  + "px");
	    	
	    	// 根据浏览器窗口大小，调整流程横向分支线的宽度
	    	var serviceLeft = $(".project-cost__service").offset().left;
	    	var invoiceLeft = $(".project-cost__invoice").offset().left;
	    	var invoiceWidth = $(".project-cost__invoice").width();
	    	var approvalLeft = $(".project-approval").offset().left;
	    	var approvalWidth = $(".project-approval").width() / 2;
	    	var completedLeft = $(".project-completed").offset().left;
	    	var completedWidth = $(".project-completed").width() / 2;
	    	var winWidth = $(window).width();
	    	var lineWidth = serviceLeft - approvalLeft - approvalWidth - 8;
	    	var invoiceRight = winWidth - invoiceLeft - invoiceWidth;
	    	var completeRight = winWidth - completedLeft - completedWidth;
	    	var lineWidth2 = invoiceRight - completeRight - 5;
			
	    	$(".project-cost__leftline").css("width", lineWidth  + "px");
	    	$(".project-cost__rightline").css("width", lineWidth2  + "px");
	    });
    </script>
  </body>
</html>
